Skip to content

)} )} )}

VirtualTimeSchedulerBase.Schedule(TState, Func) method

Defined in

Type: VirtualTimeSchedulerBase Namespace: System.Reactive.Concurrency Assembly: System.Reactive.dll

Applies to

netstandard2.0, net472

Overloads

  1. public IDisposable Schedule<TState>(TState state, Func<IScheduler, TState, IDisposable> action)

  2. public IDisposable Schedule<TState>(TState state, TimeSpan dueTime, Func<IScheduler, TState, IDisposable> action)

  3. public IDisposable Schedule<TState>(TState state, DateTimeOffset dueTime, Func<IScheduler, TState, IDisposable> action)

1. Overload

public IDisposable Schedule<TState>(TState state, Func<IScheduler, TState, IDisposable> action)

Type parameters

NameDescription
TState--

Parameters

NameTypeDescription
stateTState--
actionFunc (opens in a new tab)--

Returns: IDisposable (opens in a new tab)

2. Overload

public IDisposable Schedule<TState>(TState state, TimeSpan dueTime, Func<IScheduler, TState, IDisposable> action)

Type parameters

NameDescription
TState--

Parameters

NameTypeDescription
stateTState--
dueTimeTimeSpan (opens in a new tab)--
actionFunc (opens in a new tab)--

Returns: IDisposable (opens in a new tab)

3. Overload

public IDisposable Schedule<TState>(TState state, DateTimeOffset dueTime, Func<IScheduler, TState, IDisposable> action)

Type parameters

NameDescription
TState--

Parameters

NameTypeDescription
stateTState--
dueTimeDateTimeOffset (opens in a new tab)--
actionFunc (opens in a new tab)--

Returns: IDisposable (opens in a new tab)